﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TCSF_Licence
{
    class Licence
    {

        private string cpuSn;

        public string CpuSn
        {
            get { return cpuSn; }
            set { cpuSn = value; }
        }

        private string diskSn;

        public string DiskSn
        {
            get { return diskSn; }
            set { diskSn = value; }
        }

        private string mac;

        public string Mac
        {
            get { return mac; }
            set { mac = value; }
        }

        private Boolean bindCpu;

        public Boolean BindCpu
        {
            get { return bindCpu; }
            set { bindCpu = value; }
        }

        private Boolean bindDisk;

        public Boolean BindDisk
        {
            get { return bindDisk; }
            set { bindDisk = value; }
        }

        private Boolean bindMac;

        public Boolean BindMac
        {
            get { return bindMac; }
            set { bindMac = value; }
        }

        private String type;

        public String Type
        {
            get { return type; }
            set { type = value; }
        }

        private DateTime expiredTime;

        public DateTime ExpiredTime
        {
            get { return expiredTime; }
            set { expiredTime = value; }
        }

        private long effectiveTimeLength;

        public long EffectiveTimeLength
        {
            get { return effectiveTimeLength; }
            set { effectiveTimeLength = value; }
        }

        private Boolean showTrial;

        public Boolean ShowTrial
        {
            get { return showTrial; }
            set { showTrial = value; }
        }

        private Dictionary<String, Boolean> functions;

        public Dictionary<String, Boolean> Functions
        {
            get { return functions; }
            set { functions = value; }
        }
    }

}
